<!DOCTYPE html>
<html>
<head>
<script src="../../../resources/js-test.js"></script>
</head>
<body>
<input type="checkbox" id="ch" onchange="handleChange()">
<input type="checkbox" id="ch1" value="" onchange="handleChange()">
<script>
description("This is to test onchange of checkboxes");

function handleChange() {
    testPassed('onChange event fired for the checkbox.');
}

document.getElementById('ch').click();
document.getElementById('ch1').click();
</script>
</body>
</html>
